﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FinalTestMachine.Motion.Product
{
    /// <summary>
    /// 提供全局的产品信息上下文
    /// </summary>
    public class ProductContentManager
    {
        public static ProductContentManager Cur = new ProductContentManager();

        private ProductContentManager()
        {

        }

        /// <summary>
        /// 产品信息
        /// </summary>
        public readonly ProductInfo productInfo = new ProductInfo();

        /// <summary>
        /// 上六轴位置信息
        /// </summary>
        public readonly double[] AixPos = new double[6];

        /// <summary>
        /// 底座六轴位置信息
        /// </summary>
        public readonly double[] BaseAixPos = new double[6];

        public void ClearState()
        {
            productInfo.Clear();
        }



    }
}
